package com.xmy.cultivate.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 教务获取积分设置
 * </p>
 *
 * @author hpiggy
 * @since 2024-10-24
 */
@Data
@TableName("senate_score_set")
@ApiModel(value = "SenateScoreSet对象", description = "教务获取积分设置")
public class SenateScoreSet implements Serializable {

    private static final long serialVersionUID = 1L;

    
    private Long id;

    @ApiModelProperty("年份")
    private Integer yearPart;

    @ApiModelProperty("学期")
    private Integer quarterNum;
    
    @ApiModelProperty("学段或者年级，1学段，2年级")
    private Integer stageType;

    @ApiModelProperty("年级，多个逗号隔开")
    private String yearClassId;

    @ApiModelProperty("年段，多个逗号隔开")
    private String gradeSection;

    @ApiModelProperty("科目id")
    private Long subjectsId;

    @ApiModelProperty("项目id")
    private Long senateProjectId;

    @ApiModelProperty("类型：1率，2数量")
    private Integer statisticsType;

    @ApiModelProperty("率或者数量（整数）")
    private BigDecimal statisticsCount;

    @ApiModelProperty("积分")
    private Integer integral;

    @TableField(fill = FieldFill.INSERT)
    private Long createdId;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

    @ApiModelProperty("项目名称")
    @TableField(exist = false)
    private String projectName;

}
